package org.yate.oa.model;

import java.io.Serializable;
import java.util.Date;

import org.apache.ibatis.type.Alias;

/**
 * 用户实体类
 * 
 * @author ZYY
 * 
 */
@Alias(value = "UserEntity")
public class UserEntity implements Serializable {
	private Integer id;
	private String email;
	private String password;
	private String trueName;
	private String remark;
	private Date updateDate;
	private Date creationDate;

	public UserEntity() {

	}

	public UserEntity(Integer id, String email, String password, String trueName, String remark) {
		this.id = id;
		this.email = email;
		this.password = password;
		this.trueName = trueName;
		this.remark = remark;
	}

	public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getTrueName() {
		return trueName;
	}

	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	
	@Override
	public String toString(){
		return this.trueName;
	}

}
